

const {PanelInfo} = require('./model/panel_jindu');
const {PanelInfotft} = require('./model/panel_jindu2');

let panelInfoArr = [];
for (let i = 0; i < 400; i++) {
    panelInfoArr.push({
        uid: i,
        panel_id: 'PANELID123123123'+ i,
        flaw_count: 0,
        is_ok: Math.floor(Math.random() * 1),
        length_cd: Math.random() * 9000,
        length_md: Math.random() * 10000,
        save_path: 'http://localhost/a/d/azeroth',
        gen_time: Date.now(),
        gen_time_str: new Date().toLocaleDateString(),
        checked: 0,
    })
}

PanelInfo.uploadPanelInfo(panelInfoArr);
PanelInfotft.uploadPanelInfo(panelInfoArr);